package cn.codeforfun.modules.user;

import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@AllArgsConstructor
public class UserService {
    UserRepository userRepository;

    public List<User> findAll() {
        return userRepository.findAll();
    }
}
